package com.appkubes.mall.core.pojo;

import com.appkubes.mall.core.po.FintechRiskBoole;
import com.appkubes.mall.core.po.FintechRiskBooleExample;
import com.appkubes.mall.core.po.FintechRiskBooleWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.DeleteProvider;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.SelectProvider;
import org.apache.ibatis.annotations.Update;
import org.apache.ibatis.annotations.UpdateProvider;
import org.apache.ibatis.session.RowBounds;
import org.apache.ibatis.type.JdbcType;

public interface FintechRiskBooleMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_risk_boole
     *
     * @mbg.generated
     */
    @SelectProvider(type=FintechRiskBooleSqlProvider.class, method="countByExample")
    long countByExample(FintechRiskBooleExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_risk_boole
     *
     * @mbg.generated
     */
    @DeleteProvider(type=FintechRiskBooleSqlProvider.class, method="deleteByExample")
    int deleteByExample(FintechRiskBooleExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_risk_boole
     *
     * @mbg.generated
     */
    @Delete({
        "delete from fintech_risk_boole",
        "where md5key = #{md5key,jdbcType=VARCHAR}"
    })
    int deleteByPrimaryKey(String md5key);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_risk_boole
     *
     * @mbg.generated
     */
    @Insert({
        "insert into fintech_risk_boole (md5key, user_key, ",
        "create_time, update_time, ",
        "`input`, `output`)",
        "values (#{md5key,jdbcType=VARCHAR}, #{userKey,jdbcType=VARCHAR}, ",
        "#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, ",
        "#{input,jdbcType=LONGVARCHAR}, #{output,jdbcType=LONGVARCHAR})"
    })
    int insert(FintechRiskBooleWithBLOBs record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_risk_boole
     *
     * @mbg.generated
     */
    @InsertProvider(type=FintechRiskBooleSqlProvider.class, method="insertSelective")
    int insertSelective(FintechRiskBooleWithBLOBs record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_risk_boole
     *
     * @mbg.generated
     */
    @SelectProvider(type=FintechRiskBooleSqlProvider.class, method="selectByExampleWithBLOBs")
    @Results({
        @Result(column="md5key", property="md5key", jdbcType=JdbcType.VARCHAR, id=true),
        @Result(column="user_key", property="userKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="input", property="input", jdbcType=JdbcType.LONGVARCHAR),
        @Result(column="output", property="output", jdbcType=JdbcType.LONGVARCHAR)
    })
    List<FintechRiskBooleWithBLOBs> selectByExampleWithBLOBsWithRowbounds(FintechRiskBooleExample example, RowBounds rowBounds);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_risk_boole
     *
     * @mbg.generated
     */
    @SelectProvider(type=FintechRiskBooleSqlProvider.class, method="selectByExampleWithBLOBs")
    @Results({
        @Result(column="md5key", property="md5key", jdbcType=JdbcType.VARCHAR, id=true),
        @Result(column="user_key", property="userKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="input", property="input", jdbcType=JdbcType.LONGVARCHAR),
        @Result(column="output", property="output", jdbcType=JdbcType.LONGVARCHAR)
    })
    List<FintechRiskBooleWithBLOBs> selectByExampleWithBLOBs(FintechRiskBooleExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_risk_boole
     *
     * @mbg.generated
     */
    @SelectProvider(type=FintechRiskBooleSqlProvider.class, method="selectByExample")
    @Results({
        @Result(column="md5key", property="md5key", jdbcType=JdbcType.VARCHAR, id=true),
        @Result(column="user_key", property="userKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP)
    })
    List<FintechRiskBoole> selectByExampleWithRowbounds(FintechRiskBooleExample example, RowBounds rowBounds);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_risk_boole
     *
     * @mbg.generated
     */
    @SelectProvider(type=FintechRiskBooleSqlProvider.class, method="selectByExample")
    @Results({
        @Result(column="md5key", property="md5key", jdbcType=JdbcType.VARCHAR, id=true),
        @Result(column="user_key", property="userKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP)
    })
    List<FintechRiskBoole> selectByExample(FintechRiskBooleExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_risk_boole
     *
     * @mbg.generated
     */
    @Select({
        "select",
        "md5key, user_key, create_time, update_time, `input`, `output`",
        "from fintech_risk_boole",
        "where md5key = #{md5key,jdbcType=VARCHAR}"
    })
    @Results({
        @Result(column="md5key", property="md5key", jdbcType=JdbcType.VARCHAR, id=true),
        @Result(column="user_key", property="userKey", jdbcType=JdbcType.VARCHAR),
        @Result(column="create_time", property="createTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="update_time", property="updateTime", jdbcType=JdbcType.TIMESTAMP),
        @Result(column="input", property="input", jdbcType=JdbcType.LONGVARCHAR),
        @Result(column="output", property="output", jdbcType=JdbcType.LONGVARCHAR)
    })
    FintechRiskBooleWithBLOBs selectByPrimaryKey(String md5key);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_risk_boole
     *
     * @mbg.generated
     */
    @UpdateProvider(type=FintechRiskBooleSqlProvider.class, method="updateByExampleSelective")
    int updateByExampleSelective(@Param("record") FintechRiskBooleWithBLOBs record, @Param("example") FintechRiskBooleExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_risk_boole
     *
     * @mbg.generated
     */
    @UpdateProvider(type=FintechRiskBooleSqlProvider.class, method="updateByExampleWithBLOBs")
    int updateByExampleWithBLOBs(@Param("record") FintechRiskBooleWithBLOBs record, @Param("example") FintechRiskBooleExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_risk_boole
     *
     * @mbg.generated
     */
    @UpdateProvider(type=FintechRiskBooleSqlProvider.class, method="updateByExample")
    int updateByExample(@Param("record") FintechRiskBoole record, @Param("example") FintechRiskBooleExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_risk_boole
     *
     * @mbg.generated
     */
    @UpdateProvider(type=FintechRiskBooleSqlProvider.class, method="updateByPrimaryKeySelective")
    int updateByPrimaryKeySelective(FintechRiskBooleWithBLOBs record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_risk_boole
     *
     * @mbg.generated
     */
    @Update({
        "update fintech_risk_boole",
        "set user_key = #{userKey,jdbcType=VARCHAR},",
          "create_time = #{createTime,jdbcType=TIMESTAMP},",
          "update_time = #{updateTime,jdbcType=TIMESTAMP},",
          "`input` = #{input,jdbcType=LONGVARCHAR},",
          "`output` = #{output,jdbcType=LONGVARCHAR}",
        "where md5key = #{md5key,jdbcType=VARCHAR}"
    })
    int updateByPrimaryKeyWithBLOBs(FintechRiskBooleWithBLOBs record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table fintech_risk_boole
     *
     * @mbg.generated
     */
    @Update({
        "update fintech_risk_boole",
        "set user_key = #{userKey,jdbcType=VARCHAR},",
          "create_time = #{createTime,jdbcType=TIMESTAMP},",
          "update_time = #{updateTime,jdbcType=TIMESTAMP}",
        "where md5key = #{md5key,jdbcType=VARCHAR}"
    })
    int updateByPrimaryKey(FintechRiskBoole record);
}